(global.webpackJsonp = global.webpackJsonp || []).push([ [ "course/live/index" ], {
    1836: function(e, t, i) {},
    "23c4": function(e, t, i) {
        (function(e) {
            i("1067"), s(i("66fd"));
            var t = s(i("5e94"));
            function s(e) {
                return e && e.__esModule ? e : {
                    default: e
                };
            }
            wx.__webpack_require_UNI_MP_PLUGIN__ = i, e(t.default);
        }).call(this, i("543d").createPage);
    },
    "3b7f": function(e, t, i) {
        (function(e) {
            Object.defineProperty(t, "__esModule", {
                value: !0
            }), t.default = void 0;
            var s = _(i("42b5")), n = i("26cb"), o = _(i("03b8")), r = i("0cc1"), u = i("b806"), a = i("6137"), c = i("a71e"), l = i("4771"), h = i("f348"), d = i("9b04"), f = i("7960"), g = i("10aa"), p = i("1d0d"), m = i("db8f");
            function _(e) {
                return e && e.__esModule ? e : {
                    default: e
                };
            }
            function y(e) {
                return function(e) {
                    if (Array.isArray(e)) return v(e);
                }(e) || function(e) {
                    if ("undefined" != typeof Symbol && Symbol.iterator in Object(e)) return Array.from(e);
                }(e) || function(e, t) {
                    if (e) {
                        if ("string" == typeof e) return v(e, t);
                        var i = Object.prototype.toString.call(e).slice(8, -1);
                        return "Object" === i && e.constructor && (i = e.constructor.name), "Map" === i || "Set" === i ? Array.from(e) : "Arguments" === i || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i) ? v(e, t) : void 0;
                    }
                }(e) || function() {
                    throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
                }();
            }
            function v(e, t) {
                (null == t || t > e.length) && (t = e.length);
                for (var i = 0, s = new Array(t); i < t; i++) s[i] = e[i];
                return s;
            }
            function w(e, t) {
                var i = Object.keys(e);
                if (Object.getOwnPropertySymbols) {
                    var s = Object.getOwnPropertySymbols(e);
                    t && (s = s.filter(function(t) {
                        return Object.getOwnPropertyDescriptor(e, t).enumerable;
                    })), i.push.apply(i, s);
                }
                return i;
            }
            function b(e) {
                for (var t = 1; t < arguments.length; t++) {
                    var i = null != arguments[t] ? arguments[t] : {};
                    t % 2 ? w(Object(i), !0).forEach(function(t) {
                        S(e, t, i[t]);
                    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(i)) : w(Object(i)).forEach(function(t) {
                        Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(i, t));
                    });
                }
                return e;
            }
            function S(e, t, i) {
                return t in e ? Object.defineProperty(e, t, {
                    value: i,
                    enumerable: !0,
                    configurable: !0,
                    writable: !0
                }) : e[t] = i, e;
            }
            var x = "", L = {
                mixins: [ s.default ],
                components: {
                    kpvideo: function() {
                        Promise.all([ i.e("common/vendor"), i.e("components/kp-video/video") ]).then(function() {
                            return resolve(i("f177"));
                        }.bind(null, i)).catch(i.oe);
                    },
                    onlineList: function() {
                        i.e("course/components/onlineList").then(function() {
                            return resolve(i("9377"));
                        }.bind(null, i)).catch(i.oe);
                    },
                    stepper: function() {
                        i.e("course/live/commponents/step").then(function() {
                            return resolve(i("756a"));
                        }.bind(null, i)).catch(i.oe);
                    }
                },
                watch: {
                    live_muted: {
                        handler: function(e, t) {
                            this.live_muted = 1 * e;
                        },
                        immediate: !0,
                        deep: !0
                    }
                },
                computed: b(b({}, (0, n.mapGetters)([ "configs", "mainColor", "priceColor", "user", "iphoneXStyle", "isIphone" ])), {}, {
                    messages: function() {
                        return {
                            background: this.mainColor,
                            color: "#fff"
                        };
                    },
                    send: function() {
                        return {
                            background: "rgba(51,51,51)",
                            color: "#fff"
                        };
                    },
                    nosend: function() {
                        return {
                            color: "#fff",
                            border: "none",
                            background: "rgba(51,51,51,0.5)"
                        };
                    }
                }),
                data: function() {
                    return {
                        zans: [],
                        text: "",
                        type: "",
                        input_height: 0,
                        is_wxh5: !1,
                        is_h5: !1,
                        H5focus: !0,
                        isContent: !1,
                        inputfocus: !1,
                        Infos: {
                            live_muted: 0,
                            marquee: {},
                            width: "100%",
                            height: "400rpx",
                            src: "",
                            reFresh: !0,
                            sid: "",
                            course_id: "",
                            screen_style: "",
                            id: "",
                            seek: "",
                            second: ""
                        },
                        textMsg: "",
                        isHistoryLoading: !1,
                        scrollAnimation: !1,
                        scrollTop: 0,
                        scrollToView: "",
                        msgList: [],
                        msgImgList: [],
                        myuid: 0,
                        RECORDER: e.getRecorderManager(),
                        isVoice: !1,
                        voiceTis: "按住 说话",
                        recordTis: "手指上滑 取消发送",
                        recording: !1,
                        willStop: !1,
                        imgInfo: {
                            w: 0,
                            h: 0
                        },
                        recordTimer: null,
                        recordLength: 0,
                        livePlayer: "",
                        fullScreenFlag: !0,
                        isFull: !0,
                        isControlShow: !0,
                        screen_style: !0,
                        HorinputHeight: 0,
                        horinputText: "",
                        user_id: "",
                        users: "",
                        peopleNum: 0,
                        page: 1,
                        pageOnLine: 1,
                        loading: !1,
                        isShow: !1,
                        datas: [],
                        isFourse: !1,
                        course_id: "",
                        isPlayBo: !0,
                        weikaiViewTop: "",
                        scrollViewTop: "",
                        heights: "",
                        RealyHeight: "",
                        times: "",
                        zan_num: 0,
                        gift_num: 0,
                        zsClass: "",
                        gifts: [],
                        gifts_name: "",
                        height: "440rpx",
                        giftList: [],
                        giftIndex: -1,
                        gifts_Img: 0,
                        selectNum: 1,
                        isPay: "",
                        gifts_total_price: "",
                        live_muted: 0,
                        payData: {},
                        kcClass: "",
                        courseLists: {
                            data: [],
                            params: {
                                type: 2,
                                paddingLR: "0px"
                            }
                        },
                        loadingOk: !1,
                        isRequest: !1,
                        queue: "",
                        timer: "",
                        marqueeSpeedTop: 70,
                        marqueeSpeedBottom: 70,
                        isBottom: !0,
                        offsetTop: "",
                        webRtc: !0,
                        webRtcTimer: "",
                        webRtcPlayer: "",
                        isMainShow: !1,
                        webrtcHeight: "",
                        scrollTimer: "",
                        videoRtc: "",
                        mescroll: "",
                        loadViewid: "",
                        downOption: {
                            autoShowLoading: !0,
                            textInOffset: "",
                            textOutOffset: "",
                            textLoading: ""
                        },
                        upOption: {
                            use: !1,
                            toTop: {
                                src: ""
                            },
                            onScroll: !0
                        },
                        timeCallback: "",
                        timeCallbackNums: 0,
                        timeScroll: ""
                    };
                },
                mounted: function() {
                    var e = this;
                    e.$nextTick(function() {}), this.queue = new a.Queue(), this.timer = setInterval(function() {
                        if (!e.queue.isEmpty()) {
                            var t = e.queue.dequeue();
                            e.addGifs(t);
                        }
                    }, 3200);
                },
                onShow: function() {
                    var e = this;
                    this.scrollTop = 99, (0, u.init)(this).then(function(t) {
                        (0, l.getStorageSync)("userInfo").then(function(t) {
                            var i = JSON.parse(t.data);
                            e.users = i, (0, c.isEmpty)(i.id) ? (0, f.h5JudgeLogin)(2).then(function(e) {}) : (e.user_id = i.id, 
                            e.connect(e.user_id), e.getMsgList());
                        }, function(e) {
                            (0, f.h5JudgeLogin)(2).then(function(e) {});
                        });
                    }).catch(function(e) {
                        return console.log(e);
                    });
                },
                created: function() {
                    var t = this;
                    e.getSystemInfo({
                        success: function(e) {
                            t.heights = (e.windowWidth / 1.64).toFixed(2) + "px", t.weikaiViewTop = (e.windowWidth / 1.64 + 24).toFixed(2) + "px";
                        }
                    }), x = this;
                },
                onLoad: function(e) {
                    this.course_id = e.id, this.isPayType();
                },
                onBackPress: function(e) {
                    console.log("eee", e);
                },
                onUnload: function() {
                    clearInterval(this.times), clearInterval(this.timer), this.timer = null, this.times = null, 
                    this.scrollTimer = null, (0, h.stop)();
                },
                methods: {
                    initMescroll: function(e) {
                        this.mescroll = e, this.scrollTos(this.loadViewid);
                    },
                    scrollTos: function(t) {
                        var i = this;
                        if (i.loadViewid = t, null == i.mescroll || null == t) return !1;
                        var s = e.createSelectorQuery().select("#msg" + t), n = "#msg" + t;
                        s.boundingClientRect(function(e) {
                            i.mescroll.scrollTo(n, 300);
                        }).exec();
                    },
                    downCallback: function() {
                        "" != this.zan_num && 1 != this.page && (this.loadHistory(), this.mescroll.lockDownScroll(!0)), 
                        this.page++;
                    },
                    swiperChange: function(e) {
                        this.gifts_name = "", this.selectNum = 1, this.giftIndex = -1, this.gifts_Img = "", 
                        this.gifts_Price = "", this.gifts_total_price = "";
                    },
                    loadBottom: function(e) {
                        var t = this;
                        setTimeout(function(e, i) {
                            t.isBottom = !0;
                        }, 1200);
                    },
                    scrollList: function(e) {
                        null != this.mescroll && this.mescroll.endSuccess(), this.isBottom = !1;
                    },
                    goDetail: function() {},
                    getLiveShop: function(e) {
                        var t = this;
                        t.loadingOk = !1, t.isRequest = !1;
                        var i = {
                            course_id: this.course_id
                        };
                        (0, p.liveShop)(i).then(function(e) {
                            t.courseLists.data = e.course_list, t.loadingOk = !0, t.isRequest = 0 == t.courseLists.data.length;
                        });
                    },
                    choosePay: function(e) {
                        this.isPay = 1 == e.typeId ? 3 : 2, this.putDs();
                    },
                    isPayType: function() {
                        var e = this;
                        (0, d.payMethod)().then(function(t) {
                            -1 == t.indexOf("wxpay") && (e.isPay = 0);
                        });
                    },
                    putDs: (0, m.throttle)(function() {
                        x.putDsGifts();
                    }, 1e3),
                    putDsGifts: function() {
                        var e = this;
                        if (-1 == e.giftIndex) return e.$toast("请先选择礼物", "none");
                        this.gifts_total_price, this.gifts_total_price;
                        var t = {
                            course_id: e.course_id,
                            payType: 1,
                            gift_title: e.gifts_name,
                            gift_img: e.gifts_Img,
                            gift_price: e.gifts_Price,
                            gift_num: e.selectNum
                        };
                        0 == this.gifts_total_price && (t.payType = 4), (0, p.liveOrderSubmit)(t).then(function(t) {
                            (0, r.pay)(t, e.orderSuccess, e.orderFail, "");
                        });
                    },
                    orderSuccess: function() {
                        this.hideZsClass();
                    },
                    orderFail: function() {
                        this.hideZsClass();
                    },
                    changeNum: function(e) {
                        this.selectNum = parseInt(e), this.gifts_total_price = parseFloat(this.gifts_Price * this.selectNum).toFixed(2);
                    },
                    chooseGift: function(e, t) {
                        this.gifts_name = e.title, this.giftIndex = t, this.gifts_Img = e.img, this.gifts_Price = e.price, 
                        this.gifts_total_price = parseFloat(e.price * this.selectNum).toFixed(2);
                    },
                    discard: function() {},
                    hideService: function() {
                        var e = this;
                        this.serviceClass = "hide", setTimeout(function() {
                            e.serviceClass = "none";
                        }, 200);
                    },
                    showZsClass: function() {
                        this.zsClass = "show";
                    },
                    showKcClass: function() {
                        this.getLiveShop(), this.kcClass = "show";
                    },
                    hideKcClass: function() {
                        var e = this;
                        this.kcClass = "hide", setTimeout(function() {
                            e.kcClass = "none";
                        }, 200);
                    },
                    hideZsClass: function() {
                        var e = this;
                        this.zsClass = "hide", setTimeout(function() {
                            e.zsClass = "none";
                        }, 200);
                    },
                    addZan: function() {
                        var e = Math.floor(6 * Math.random()) + 1, t = Math.floor(11 * Math.random()) + 1;
                        this.zans.push({
                            b: e,
                            bl: t
                        }), this.zan();
                    },
                    lower: function() {
                        this.pageOnLine++, this.showPeople();
                    },
                    handleGifts: function(e) {
                        for (var t = this, i = {
                            data: []
                        }, s = 0; s < e.length; s++) {
                            if (s > 7) {
                                var n = e.slice(s, e.length);
                                return t.giftList.push(JSON.parse(JSON.stringify(i))), i.data = [], t.handleGifts(n), 
                                !1;
                            }
                            i.data.push({
                                img: e[s].img,
                                price: e[s].price,
                                title: e[s].title
                            });
                        }
                        i.data.length > 0 && t.giftList.push(JSON.parse(JSON.stringify(i)));
                    },
                    getDetail: function() {
                        var t = this, i = this, s = {
                            id: i.course_id,
                            user_id: i.user_id
                        };
                        (0, d.courseInfo)(s).then(function(s) {
                            i.type = s.live_play_type, i.Infos = s, 1 == s.is_screen && (i.marqueeSpeedTop = 10 * s.marquee.marqueeSpeedTop, 
                            i.marqueeSpeedBottom = 10 * s.marquee.marqueeSpeedTop), i.live_muted = 1 * s.live_muted, 
                            i.handleGifts(s.gift), i.zan_num = s.live_zan_num > 1e4 ? (s.live_zan_num / 1e4).toFixed(1) + "w" : s.live_zan_num, 
                            0 == i.Infos.live.live_auth ? i.livePlayer = e.createVideoContext("player", t) : i.livePlayer = e.createLivePlayerContext("player", t), 
                            i.isMainShow = !0, e.getSystemInfo({
                                success: function(e) {
                                    i.Infos.width = "100%", i.Infos.height = (e.windowWidth / 1.77).toFixed(2) + "px", 
                                    i.RealyHeight = (e.windowWidth / 1.77).toFixed(2) + "px", i.webrtcHeight = (e.windowWidth / 1.77).toFixed(2), 
                                    i.scrollViewTop = (e.windowWidth / 1.77 + 24).toFixed(2) + "px", i.isFull || (i.Infos.height = "100vw", 
                                    i.Infos.width = "100vh"), i.$nextTick(function() {
                                        null != i.mescroll && i.mescroll.endSuccess();
                                    }), setTimeout(function() {
                                        i.playVideo();
                                    }, 100);
                                }
                            });
                        });
                    },
                    connect: function(e) {
                        var t = this;
                        this.user_id = this.user.id, (0, h.webSocket)("wss://" + o.default.siteroot.split("/")[2] + "/yzdkp?user_id=" + t.user.id + "&course_id=" + t.course_id, 2e4, t.screenMsg, null, null);
                    },
                    horinputContent: function(e) {
                        this.horinputText = e.detail.value, this.textMsg = e.detail.value;
                    },
                    horhideInput: function() {
                        this.isFourse = !1, this.HorinputHeight = 0;
                    },
                    inputTanFun: function(e) {
                        this.isFourse = !0, this.HorinputHeight = e.detail.height;
                    },
                    touchData: function() {
                        this.isControlShow = !this.isControlShow, this.isIphone && this.isPlayBo && this.playBo();
                    },
                    playVideo: function() {
                        this.livePlayer.play();
                    },
                    playBo: function() {
                        this.livePlayer.play(), this.isPlayBo = !1;
                    },
                    statechange: function(e) {},
                    error: function(e) {
                        console.log("error", e);
                    },
                    openFull: function() {
                        this.isFull = !this.isFull, this.isFull ? (this.Infos.height = this.RealyHeight, 
                        this.Infos.width = "100%") : (this.Infos.height = "100vw", this.Infos.width = "100vh");
                    },
                    openwebRtcFull: function() {
                        this.webRtcPlayer.isFullscreen() ? this.webRtcPlayer.exitFullscreen() : this.webRtcPlayer.requestFullscreen();
                    },
                    hideDrawer: function() {},
                    screenMsg: function(e) {
                        var t = this;
                        switch (e.type) {
                          case 1:
                            this.addTextMsg(e);
                            break;

                          case "voice":
                            this.addVoiceMsg(e);
                            break;

                          case 2:
                            this.addImgMsg(e);
                            break;

                          case 4:
                            this.addTextMsg(e);
                            break;

                          case "redEnvelope":
                            this.addRedEnvelopeMsg(e);
                            break;

                          case "online_num":
                            t.peopleNum = e.num;
                            break;

                          case "online":
                          case "offline":
                            t.peopleNum = e.online_num;
                            break;

                          case "zan_num":
                            t.zan_num = e.num > 1e4 ? (e.num / 1e4).toFixed(1) + "w" : e.num;
                            break;

                          case "gift":
                            t.queue.enqueue(e);
                            break;

                          case "muted":
                            t.live_muted = e.live_muted, this.$forceUpdate();
                            break;

                          case -1:
                            t.msgList.push(e);
                        }
                        this.$nextTick(function() {
                            "heartbeat" == e.type || "offline" == e.type || "online_num" == e.type || !t.isBottom && t.user_id != e.user_id || t.scrollTos(e.id), 
                            "heartbeat" != e.type && "offline" != e.type && "online_num" != e.type && 2 == t.type && t.scrollTos(e.id);
                        });
                    },
                    loadHistory: function(e) {
                        if (!this.isHistoryLoading) {
                            var t = this, i = "";
                            this.isHistoryLoading = !0, this.scrollAnimation = !1, 2 != this.page && this.page++, 
                            console.log("this.page" + this.page);
                            var s = {
                                course_id: t.course_id,
                                page: this.page,
                                pagesize: 10,
                                isLoading: !1
                            };
                            t.loading = !0, (0, p.liveChatList)(s).then(function(e) {
                                var s = e.list.reverse();
                                s.length > 0 && (i = s[0].id), t.loading = !1;
                                for (var n = 0; n < s.length; n++) (0, c.check_is_img)(s[n].content) && t.msgImgList.push(s[n].content);
                                s.map(function(e, i) {
                                    t.msgList.unshift(e);
                                }), t.page <= 2 ? t.scrollTos(t.loadViewid) : t.scrollTos(i), t.mescroll.endSuccess(), 
                                t.$nextTick(function() {
                                    t.isHistoryLoading = !1, s.length < 10 ? (t.isEnd = !0, t.mescroll.lockDownScroll(!0)) : t.mescroll.lockDownScroll(!1);
                                });
                            });
                        }
                    },
                    getMsgList: function() {
                        var e = this, t = {
                            course_id: e.course_id,
                            page: this.page,
                            pagesize: 10
                        };
                        (0, p.liveChatList)(t).then(function(t) {
                            var i = e.msgList;
                            e.msgList = t.list, e.msgList = [].concat(y(e.msgList), y(i));
                            for (var s = 0; s < e.msgList.length; s++) (0, c.check_is_img)(e.msgList[s].content) && e.msgImgList.push(e.msgList[s].content);
                            e.getDetail();
                        });
                    },
                    setPicSize: function(t) {
                        var i = e.upx2px(350), s = e.upx2px(350);
                        if (t.width > i || t.height > s) {
                            var n = t.width / t.maxH;
                            t.width = n > 1 ? i : s * n, t.height = n > 1 ? i / n : s;
                        }
                        return t;
                    },
                    chooseImage: function() {
                        this.getImage("album");
                    },
                    camera: function() {
                        this.getImage("camera");
                    },
                    getImage: function(t) {
                        var i = this;
                        e.chooseImage({
                            sourceType: [ "album", "camera" ],
                            sizeType: [ "compressed" ],
                            success: function(t) {
                                (0, g.uploadSlgnImage)(1, t.tempFilePaths).then(function(s) {
                                    e.getImageInfo({
                                        src: t.tempFilePaths[0],
                                        success: function(e) {
                                            i.sendMsg(s[0], 2);
                                        }
                                    });
                                });
                            }
                        });
                    },
                    chooseEmoji: function() {
                        this.hideMore = !0, this.hideEmoji ? (this.hideEmoji = !1, this.openDrawer()) : this.hideDrawer();
                    },
                    addEmoji: function(e) {
                        this.textMsg += e.alt;
                    },
                    textareaFocus: function() {
                        "showLayer" == this.popupLayerClass && 0 == this.hideMore && this.hideDrawer();
                    },
                    zan: function() {
                        var e = (new Date(), {
                            i: o.default.uniacid,
                            user_id: this.users.id,
                            course_id: this.course_id,
                            type: "zan"
                        });
                        (0, h.send)(e);
                    },
                    sendText: function() {
                        var e = this;
                        if (this.textMsg) {
                            for (var t = 0; t < e.Infos.forbidden_words.length; t++) if (-1 != e.textMsg.indexOf(e.Infos.forbidden_words[t])) return e.$toast("发送内容包含违禁词"), 
                            e.textMsg = "", !1;
                            var i = this.textMsg;
                            this.sendMsg(i, 1), this.textMsg = "";
                        }
                    },
                    addGifs: function(e) {
                        var t = JSON.parse(e.user_data), i = JSON.parse(e.gift_data);
                        this.gifts.push({
                            id: t.id,
                            user_img: t.avatarUrl,
                            nickName: t.nickName,
                            gift_img: i.img,
                            gift_num: i.num,
                            title: i.title,
                            isHide: !1
                        }), this.gift_num++;
                    },
                    replaceEmoji: function(e) {
                        var t = this;
                        return '<div style="display: flex;align-items: center;word-wrap:break-word;">' + e.replace(/\[([^(\]|\[)]*)\]/g, function(e, i) {
                            for (var s = 0; s < t.emojiList.length; s++) for (var n = t.emojiList[s], o = 0; o < n.length; o++) {
                                var r = n[o];
                                if (r.alt == e) {
                                    return '<img src="https://s2.ax1x.com/2019/04/12/' + t.onlineEmoji[r.url] + '">';
                                }
                            }
                        }) + "</div>";
                    },
                    sendMsg: function(e, t, i) {
                        var s = this, n = new Date(), r = {
                            i: o.default.uniacid,
                            user_id: s.users.id,
                            course_id: s.course_id,
                            time: n.getHours() + ":" + n.getMinutes(),
                            type: t,
                            user: {
                                nickName: s.users.nickName,
                                avatarUrl: s.users.avatarUrl
                            },
                            content: e
                        };
                        (0, h.send)(r);
                    },
                    addTextMsg: function(e) {
                        this.msgList.push(e);
                    },
                    addImgMsg: function(e) {
                        this.msgImgList.push(e.content), this.msgList.push(e);
                    },
                    addSystemTextMsg: function(e) {
                        this.msgList.push(e);
                    },
                    sendSystemMsg: function(e, t) {
                        var i = this.msgList[this.msgList.length - 1].msg.id, s = {
                            type: "system",
                            msg: {
                                id: ++i,
                                type: t,
                                content: e
                            }
                        };
                        this.screenMsg(s);
                    },
                    showPic: function(t) {
                        e.previewImage({
                            indicator: "none",
                            current: t,
                            urls: this.msgImgList
                        });
                    },
                    getRandomColor: function() {
                        for (var e = [], t = 0; t < 3; ++t) {
                            var i = Math.floor(256 * Math.random()).toString(16);
                            i = 1 == i.length ? "0" + i : i, e.push(i);
                        }
                        return "#" + e.join("");
                    },
                    hideInput: function() {
                        this.inputfocus = !1, this.isContent = !1, this.input_height = 0;
                    },
                    H5Focus: function(e) {
                        this.input_height = e.detail.height, 0 == this.input_height && this.hideInput();
                    },
                    isCommentShow: function(e) {
                        var t = this;
                        (0, f.h5JudgeLogin)(2).then(function(i) {
                            if (!i) {
                                if (e.uid == t.user.id) return t.$toast("不能评论自己", "none"), void t.hideInput();
                                t.comment_action = e, t.clickInput();
                            }
                        });
                    },
                    close: function() {
                        this.datas = [], this.pageOnLine = 1, this.isShow = !1;
                    },
                    showPeople: function() {
                        var e = this;
                        this.isShow = !0;
                        var t = {
                            course_id: e.course_id,
                            page: this.pageOnLine,
                            pagesize: 10
                        };
                        (0, p.liveUserList)(t).then(function(t) {
                            var i = e.datas, s = t.list;
                            i && 1 != e.pageOnLine && (s = [].concat(y(i), y(s))), e.datas = s;
                        });
                    }
                },
                onHide: function() {
                    (0, h.stop)();
                }
            };
            t.default = L;
        }).call(this, i("543d").default);
    },
    "5e94": function(e, t, i) {
        i.r(t);
        var s = i("9474"), n = i("bfcb");
        for (var o in n) "default" !== o && function(e) {
            i.d(t, e, function() {
                return n[e];
            });
        }(o);
        i("9e83");
        var r = i("f0c5"), u = Object(r.a)(n.default, s.b, s.c, !1, null, null, null, !1, s.a, void 0);
        t.default = u.exports;
    },
    9474: function(e, t, i) {
        i.d(t, "b", function() {
            return n;
        }), i.d(t, "c", function() {
            return o;
        }), i.d(t, "a", function() {
            return s;
        });
        var s = {
            mescrollUni: function() {
                return Promise.all([ i.e("common/vendor"), i.e("uni_modules/mescroll-uni/components/mescroll-uni/mescroll-uni") ]).then(i.bind(null, "8a21"));
            },
            courseList: function() {
                return Promise.all([ i.e("common/vendor"), i.e("components/courseList/courseList") ]).then(i.bind(null, "4b60"));
            }
        }, n = function() {
            var e = this, t = (e.$createElement, e._self._c, e.isFull && 1 == e.type ? e.__map(e.msgList, function(t, i) {
                return {
                    $orig: e.__get_orig(t),
                    s0: t.user_id == e.user_id && -1 != t.type && 1 == t.type ? e.__get_style([ e.messages ]) : null,
                    s1: t.user_id == e.user_id && -1 != t.type && 4 == t.type ? e.__get_style([ e.messages ]) : null,
                    g0: t.user_id == e.user_id && -1 != t.type && 4 == t.type ? JSON.parse(t.content) : null,
                    g1: t.user_id == e.user_id && -1 != t.type && 4 == t.type ? JSON.parse(t.content) : null,
                    g2: t.user_id == e.user_id && -1 != t.type ? JSON.parse(t.user) : null,
                    g3: t.user_id != e.user_id && -1 != t.type ? JSON.parse(t.user) : null,
                    g4: t.user_id != e.user_id && -1 != t.type ? JSON.parse(t.user) : null,
                    g5: t.user_id != e.user_id && -1 != t.type && 4 == t.type ? JSON.parse(t.content) : null,
                    g6: t.user_id != e.user_id && -1 != t.type && 4 == t.type ? JSON.parse(t.content) : null
                };
            }) : null), i = 2 == e.type ? e.__map(e.msgList, function(t, i) {
                return {
                    $orig: e.__get_orig(t),
                    g7: -1 != t.type && 2 != t.type && 4 != t.type && t.user_id != e.user_id ? JSON.parse(t.user) : null,
                    g8: 2 == t.type && t.user_id != e.user_id ? JSON.parse(t.user) : null,
                    g9: 4 == t.type && t.user_id != e.user_id ? JSON.parse(t.user) : null,
                    g10: 4 == t.type ? JSON.parse(t.content) : null,
                    g11: 4 == t.type ? JSON.parse(t.content) : null
                };
            }) : null;
            e.$mp.data = Object.assign({}, {
                $root: {
                    l0: t,
                    l1: i
                }
            });
        }, o = [];
    },
    "9e83": function(e, t, i) {
        var s = i("1836");
        i.n(s).a;
    },
    bfcb: function(e, t, i) {
        i.r(t);
        var s = i("3b7f"), n = i.n(s);
        for (var o in s) "default" !== o && function(e) {
            i.d(t, e, function() {
                return s[e];
            });
        }(o);
        t.default = n.a;
    }
}, [ [ "23c4", "common/runtime", "common/vendor" ] ] ]);